home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / elate / exec / doevent.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-12  |  342 b   |  26 lines

  1.  
  2. #include "tek/kn/elate/exec.h"
  3.  
  4. /* 
  5. **    TEKlib
  6. **    (C) 2001 TEK neoscientists
  7. **    all rights reserved.
  8. **
  9. **    TVOID kn_doevent(TKNOB *event)
  10. **
  11. **    do kernel event.
  12. **
  13. */
  14.  
  15. TVOID kn_doevent(TKNOB *event)
  16. {
  17.     if (sizeof(TKNOB) >= sizeof(ELATE_EVF))
  18.     {
  19.         kn_evf_set((ELATE_EVF *) event, 1);
  20.     }
  21.     else
  22.     {
  23.         kn_evf_set(*((ELATE_EVF **) event), 1);
  24.     }
  25. }
  26.